On Trading Task Reallocation for Thread Management in Multiprocessors
نویسندگان
چکیده
Most general-purpose multiprocessors are time-shared among multiple users. When a user arrives, s/he requests a submachine of size appropriate to his/her computation ; the processor-allocation algorithm then assigns him/her a portion of the multi-processor of the requested size. This study is motivated by the fact that, as successive users arrive, use a portion of the multi-processor, and depart, various individual processors in the multiprocessor may nd themselves managing quite disparate numbers of threads. This load-imbalance is clearly undesirable, and can be rectiied by reallocating (or migrating) the tasks periodically so as to balance the processors thread-loads. However, task reallocation is an expensive operation and must be performed infrequently , if ever. This paper establishes that there is a predictable trade-oo between the frequency of task reallocation and the imbalance in the processor loads. The processor-allocation algorithms devised in this paper are applicable to any hierarchically-decomposable multiprocessor, even though we state all our results for a tree-based multiprocessor. We devise a deterministic processor-allocation algorithm for an N-processor tree-machine that achieves a maximum load of min n (d + 1); l 1 2 (log N + 1) mo L ; where L is the optimal load achievable for the task sequence , and d is the reallocation parameter. We prove a lower bound by showing that no deterministic algorithm with reallocation parameter d can achieve a load less than min nl 1 2 (d + 1) m ; l 1 2 (log N + 1) mo factor away from the optimal load for all task sequences. Next, we present a randomized processor-allocation algorithm for an N-processor tree-machine that does not reallocate tasks and achieves a load of at most 2 log N log log N + 1 L ; where L is the optimal load of the task sequence; and, we show that no randomized processor-allocation algorithm without reallocation can achieve within a factor of 1 7 log N log log N 1=3 from the optimal load for all task sequences.
منابع مشابه
Run-time thread management for large-scale distributed-memory multiprocessors
E ective thread management is crucial to achieving good performance on large-scale distributed-memory multiprocessors that support dynamic threads. For a given parallel computation with some associated task graph, a thread-management algorithm produces a running schedule as output, subject to the precedence constraints imposed by the task graph and the constraints imposed by the interprocessor ...
متن کاملTowards Distributed and Dynamic Task Reallocation
Distributed and dynamic task reallocation in multi-robot organization is motivated by the fact that most critical information for organizational performance must be obtained during problem solving and static techniques for task allocation cannot take the dynamic information into account. This paper presents Distributed Organizational Task Network (DOTN) as a representation for the problem, and ...
متن کاملAutomatic Multithreaded Parallel Program Generation for Message Passing Multiprocessors Using Parameterized Task Graphs
متن کامل
System Software Support for Reducing Memory Latency on Distributed Shared Memory Multiprocessors
This paper overviews results from our recent work on building customized system software support for Distributed Shared Memory Multiprocessors. The mechanisms and policies outlined in this paper are connected with a single conceptual thread: they all attempt to reduce the memory latency of parallel programs by optimizing critical system services, while hiding the complex architectural details o...
متن کاملEfficient Runtime Thread Management for the Nano-Threads Programming Model
The nano-threads programming model was proposed to effectively integrate multiprogramming on shared-memory multiprocessors, with the exploitation of fine-grain parallelism from standard applications. A prerequisite for the applicability of the nano-threads programming model is the ability of the runtime environment to manage parallelism at any level of granularity with minimal overheads. In thi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007